Optimal. Leaf size=69 \[ \frac {8 i a^2 \sec (c+d x)}{3 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {3575, 3574}
\begin {gather*} \frac {8 i a^2 \sec (c+d x)}{3 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3574
Rule 3575
Rubi steps
\begin {align*} \int \sec (c+d x) (a+i a \tan (c+d x))^{3/2} \, dx &=\frac {2 i a \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{3 d}+\frac {1}{3} (4 a) \int \sec (c+d x) \sqrt {a+i a \tan (c+d x)} \, dx\\ &=\frac {8 i a^2 \sec (c+d x)}{3 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec (c+d x) \sqrt {a+i a \tan (c+d x)}}{3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.37, size = 57, normalized size = 0.83 \begin {gather*} -\frac {2 a (\cos (c)-i \sin (c)) (\cos (d x)-i \sin (d x)) (-5 i+\tan (c+d x)) \sqrt {a+i a \tan (c+d x)}}{3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.83, size = 71, normalized size = 1.03
method | result | size |
default | \(\frac {2 \left (4 i \left (\cos ^{2}\left (d x +c \right )\right )+4 \sin \left (d x +c \right ) \cos \left (d x +c \right )+i\right ) \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}\, a}{3 d \cos \left (d x +c \right )}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 53, normalized size = 0.77 \begin {gather*} -\frac {4 \, \sqrt {2} {\left (-3 i \, a e^{\left (2 i \, d x + 2 i \, c\right )} - 2 i \, a\right )} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}}{3 \, {\left (d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{\frac {3}{2}} \sec {\left (c + d x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.49, size = 98, normalized size = 1.42 \begin {gather*} \frac {2\,a\,\sqrt {\frac {a\,\left (2\,{\cos \left (c+d\,x\right )}^2+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )}{2\,{\cos \left (c+d\,x\right )}^2}}\,\left ({\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2\,8{}\mathrm {i}+{\cos \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )}^2\,2{}\mathrm {i}+\sin \left (c+d\,x\right )+\sin \left (3\,c+3\,d\,x\right )-5{}\mathrm {i}\right )}{3\,d\,{\cos \left (c+d\,x\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________